#pragma once
#ifndef PDF_PAGE_STACK_HPP
#define PDF_PAGE_STACK_HPP
#include "PageRegion.hpp"

namespace Pdf
{
	class PageStack : private PageRegion
	{
	public:
					PageStack(size_t byteCount);
				   ~PageStack();

		char *		push();
		void		pop();
		char *		top() const;

	private:
		size_t		index;
	};
}

#endif // PDF_PAGE_STACK_HPP
